<div id="central" class="warp"> {include file="index/menu"}
	<div id="main">
		<div id="header">
			<div class="title">
				<h1>会员中心</h1>
			</div>
			<div class="return"><a href="{$url(member/index/index)}">中心首页</a></div>
			<div class="fn-clear"></div>
		</div>
		<div class="box">
			<div class="user-box">
				<div class="user-info nofl">
					<h3>尊敬的<span class="red"> {$user_info.username} (uid:{$user_info.uid})</span>，欢迎您！</h3>
					<div class="info-list">
						<ul>
							<li><span class="title">姓名</span> {$user_info.nicename}</li>
							<li><span class="title">联系电话</span> {$user_info.tel}</li>
							<li><span class="title">联系地址</span> {$user_info.address}</li>
							<li><span class="title">用 户 组</span> {$user_info.gname}</li>
							<li><span class="title">Email</span> {$user_info.email}</li>
							<li><span class="title">统计信息</span> <a href="{$url(friends/index)}">联系人 <?php echo model('friends')->count($user_info['uid']); ?></a>&nbsp;&nbsp;&nbsp; <a href="{$url(collection/index)}">收藏夹 <?php echo model('collection')->count($user_info['uid']); ?></a>&nbsp;&nbsp;&nbsp; <a href="{$url(message/index)}">短消息 <?php echo model('message')->count('B.uid='.$user_info['uid'],'receive'); ?></a> </li>
						</ul>
					</div>
				</div>
				<div class="fn-clear"></div>
			</div>
		</div>
		<div class="box-title">
			<h2>统计信息</h2>
		</div>
		<div class="box">
			<ul>
				<li><span class="title">注册时间</span> {$user_info.reg_time time="Y-m-d H:i:s"}</li>
				<li><span class="title">最后登录时间</span> {$user_info.last_time time="Y-m-d H:i:s"}</li>
				<li><span class="title">注册 IP</span> {$user_info.reg_ip}</li>
				<li><span class="title">最后登录 IP</span> {$user_info.last_ip}</li>
			</ul>
		</div>
	</div>
	<div class="fn-clear"></div>
</div>
